Implement bidi-sensitive word movement with arrow keys.
authorEli Zaretskii <eliz@gnu.org>
Sat, 29 May 2010 15:19:13 +0000 (18:19 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 29 May 2010 15:19:13 +0000 (18:19 +0300)
commit2784b21a7a07d31933751694f45124f2e0791e3c
treeca37a48f7da2b8ebcfec901f874693a0f8ff5674
parentbd7ad94d6f6b37ce6957b204454e2f88289c45ad
Implement bidi-sensitive word movement with arrow keys.

 lisp/subr.el (right-arrow-command, left-arrow-command): Move to bindings.el.
 lisp/bindings.el (right-char, left-char): Move from subr.el and
 rename from right-arrow-command and left-arrow-command.
 (right-word, left-word): New functions.
 (global-map) <right>: Bind to right-char.
 (global-map) <left>: Bind to left-char.
 (global-map) <C-right>: Bind to right-word.
 (global-map) <C-left>: Bind to left-word.

 doc/emacs/basic.texi (Moving Point): Update due to renaming of commands bound
 to arrows.  Document bidi-aware behavior of C-<right> and C-<left>.
doc/emacs/ChangeLog
doc/emacs/basic.texi
lisp/ChangeLog
lisp/bindings.el
lisp/subr.el